<?php  echo $this->Session->flash();?>

<div class="row">
	<div class="col-lg-12">
		<h2 class="page-header">Edit support</h2>
	</div>
</div>
<?php echo $this->Form->create('Support'); ?>
<table class="table table-striped table-bordered table-hover" id="dataTables-example">
	<tr>
		<th width="15%">Tên</th>
		<td>
			<?php
			echo $this->Form->input('name', array(
					'type' => 'text',
					'label' => false,
					'class' => 'form-control',
					'required' => true,
					'id' => 'cat_name',
					'value' => $detail['Support']['name'],
			));
			?>
		</td>
	</tr>

	<tr>
		<th>Yahoo</th>
		<td>
			<?php
			echo $this->Form->input('yahoo', array(
					'type' => 'text',
					'label' => false,
					'class' => 'form-control',
					'required' => true,
					'id' => 'cat_name',
					'value' => $detail['Support']['yahoo'],
			));
			?>
		</td>
	</tr>
	<tr>
		<th>Skype</th>
		<td>
			<?php
			echo $this->Form->input('skype', array(
					'type' => 'text',
					'label' => false,
					'class' => 'form-control',
					'required' => true,
					'id' => 'cat_name',
					'value' => $detail['Support']['skype'],
			));
			?>
		</td>
	</tr>
	<tr>
		<th>Hotline</th>
		<td>
			<?php
			echo $this->Form->input('hotline', array(
					'type' => 'text',
					'label' => false,
					'class' => 'form-control',
					'required' => true,
					'id' => 'cat_name',
					'value' => $detail['Support']['hotline'],
			));
			?>
		</td>
	</tr>
	<tr>
		<th>Order</th>
		<td>
			<?php
			echo $this->Form->input('order', array(
					'type' => 'text',
					'label' => false,
					'class' => 'form-control',
					'required' => true,
					'id' => 'cat_name',
					'value' => $detail['Support']['order'],
			));
			?>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td>
			<div class="form-group">
			<?php
			echo $this->Form->hidden('id', array('value' => $detail['Support']['id']));
			echo $this->Form->button('Submit', array(
				'type' => 'submit',
				'class' => 'btn btn-primary',
				'label' => false,
				'div' => false,
			)
			).'  ';

			echo $this->Form->button('Reset', array(
					'type' => 'reset',
					'class' => 'btn btn-primary',
					'label' => false,
					'div' => false,
				)
			);
			?>
			</div>
		</td>
	</tr>
</table>
<?php echo $this->Form->end()?>